package com.zr.java8.pattern.factory.impl;

import com.zr.java8.pattern.factory.Car;

public class BmwCar implements Car {
    @Override
    public void drive() {
        System.out.println("BMW is driving.");
    }
}
